package com.maiji.cloud.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.maiji.cloud.entities.shopingmall.GoodsComment;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.maiji.cloud.request.shopingmall.GoodsCommentFindAllReqData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface GoodsCommentMapper extends BaseMapper<GoodsComment> {

    GoodsComment findGoodsCommentById (@Param("goodsCommentId") String goodsCommentId);

    List<GoodsComment> findAllGoodsComment (@Param("data") GoodsCommentFindAllReqData data, Page page);

}
